package com.example.constract;

import com.example.config.ConstantEnumIFace;
import lombok.RequiredArgsConstructor;

/**
 * @author jeff
 * @since 2023/4/30 17:46
 */
@RequiredArgsConstructor
public enum UserStatus5 implements ConstantEnumIFace<UserStatus5> {

    DISABLE(1,"未开始"),
    ENABLE(2,"进行中"),

    COMPLETED(3,"已完成"),

    FAIL(4,"失败");

    private final int value;
    private final String desc;

    @Override
    public int getValue() {
        return value;
    }
    @Override
    public UserStatus5[] theEnums() {
        return UserStatus5.values();
    }
}

